//------------------------------------------------------------------------------------------------------------
//
// 2009-04-28 14:01:53
//
// scott
//
// twofish_cfg.h
//
//
//
//------------------------------------------------------------------------------------------------------------

#ifndef __TWOFISH_CFG__H__
#define __TWOFISH_CFG__H__

//------------------------------------------------------------------------------------------------------------
//
//------------------------------------------------------------------------------------------------------------

#include "twofish.h"

//------------------------------------------------------------------------------------------------------------
//
//------------------------------------------------------------------------------------------------------------

typedef HTF 	    (*pInitial)(__u32 * key, __u32 keylen);
typedef __u32		(*pEnDecode)(HTF hTF, void * ibuf, __u32 len, void * obuf);
typedef __u32		(*pUnInitial)(HTF hTF);
//------------------------------------------------------------------------------------------------------------
//
//------------------------------------------------------------------------------------------------------------
typedef struct tag_TF_ENDECODE_IF
{
	HTF 		handle;
	pInitial	Initial;
	pEnDecode 	EnDecode;
	pUnInitial	UnInitial;
}TF_ENDECODE_IF_t;



//------------------------------------------------------------------------------------------------------------
//
//------------------------------------------------------------------------------------------------------------
#endif //__TWOFISH_CFG__H__


